API Documentation
Static Public Member Functions | List of all members
nkGraphics::ScreenshotTaker Class Referencefinal

Utility class helping to isolate data from a render context. More...

Static Public Member Functions

static ImageData getScreenPixels (RenderContext *context)
 

Detailed Description

Utility class helping to isolate data from a render context.

Member Function Documentation

◆ getScreenPixels()

static ImageData nkGraphics::ScreenshotTaker::getScreenPixels ( RenderContext context)
static

Retrieves the currently displayed image within a context.

Parameters
contextThe context whose image should be retrieved.
Returns
The data requested.

The documentation for this class was generated from the following file: